import fly from './flyio'
import url from './serverurl'

export function obtainSmsCode(params) {
  return fly.post(url.URL_USER_SENDVCODE, params)
}

export function getGoodsList(params) {
  console.log(params)
  return fly.post(url.URL_PRODUCTLIST, params)
}

export function getGoodsListWithNoProgress(params) {
  return fly.postWithNoProgress(url.URL_PRODUCTLIST, params)
}

export function getGoodsCount(params) {
  return fly.postWithNoProgress(url.URL_PRODUCT_COUNT, params)
}

